package ooday05.JavaCodeHomework.Q1;
/** 演示PointDemo3类 */
public class PointDemo03 {
    private int x3;
    private int y3;

    public int getX() {
        return x3;
    }
    public void setX(int x) {
        if (x3 >= 0) {
            this.x3 = x;
        }
    }

    public int getY() {
        return y3;
    }
    public void setY(int y) {
        this.y3 = y;
    }
}
